﻿using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;

namespace Admin.NET.Application;

    /// <summary>
    /// 案例基础输入参数
    /// </summary>
    public class car_caseBaseInput
    {
      
        /// <summary>
        /// 图集
        /// </summary>
        public virtual string imageurls { get; set; }
        
        /// <summary>
        /// 封面图
        /// </summary>
        public virtual string coverurl { get; set; }
        
        /// <summary>
        /// 点击次数
        /// </summary>
        public virtual long clickCount { get; set; }
        
  
        /// <summary>
        /// 案例标题
        /// </summary>
        public virtual string title { get; set; }
        

        
    }

    /// <summary>
    /// 案例分页查询输入参数
    /// </summary>
    public class car_caseInput : BasePageInput
    {
    /// <summary>
    /// 案例标题
    /// </summary>
    public string title { get; set; }

    /// <summary>
    /// 图集
    /// </summary>
    public string imageurls { get; set; }
        
        /// <summary>
        /// 封面图
        /// </summary>
        public string coverurl { get; set; }


    /// <summary>
    /// 车型id
    /// </summary>
    public long carid { get; set; }

    /// <summary>
    /// 颜色id
    /// </summary>
    public long colorId { get; set; }
        
        /// <summary>
        /// 质感id
        /// </summary>
        public long zhiganId { get; set; }
        
        /// <summary>
        /// 系列id
        /// </summary>
        public long xilieId { get; set; }
        
      
        
        /// <summary>
        /// 系列id
        /// </summary>
        public long? xilieSubId { get; set; }
        
        /// <summary>
        /// 色系id
        /// </summary>
        public long sexiId { get; set; }
        
    }

/// <summary>
/// 案例增加输入参数
/// </summary>
public class Addcar_caseInput : car_caseBaseInput
{
    public List<long> zhiganList { set; get; }
    public List<long> colorList { set; get; }
    public List<long> sexiList { set; get; }

    public List<long> carList { set; get; }
    public List<long[]> xilieList { set; get; }
}

    /// <summary>
    /// 案例删除输入参数
    /// </summary>
    public class Deletecar_caseInput : BaseIdInput
    {
    }

    /// <summary>
    /// 案例更新输入参数
    /// </summary>
    public class Updatecar_caseInput : car_caseBaseInput
    {
        /// <summary>
        /// Id
        /// </summary>
        [Required(ErrorMessage = "Id不能为空")]
        public long Id { get; set; }


    public List<long> zhiganList { set; get; }
    public List<long> colorList { set; get; }
    public List<long> sexiList { set; get; }

    public List<long> carList { set; get; }
    public List<long[]> xilieList { set; get; }

}

    /// <summary>
    /// 案例主键查询输入参数
    /// </summary>
    public class QueryByIdcar_caseInput : Deletecar_caseInput
    {

    }
